﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="InserirAssunto.aspx.cs" Inherits="CursoUNICEUB.InserirAssunto" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 180px;
        }
        .style4
        {
            width: 80px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<h1>
    Inserir Assunto</h1>
    <table style="width:100%;">

        <tr>
            <td class="style4">
                <asp:Label ID="Label1" runat="server" Text="Descrição:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtDescricao" runat="server" Width="248px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtDescricao" ErrorMessage="Descrição" 
                    ValidationGroup="Inserir">*</asp:RequiredFieldValidator>
            </td>
        </tr>

        <tr>
            <td class="style4">
                &nbsp;</td>
            <td>
                <asp:Button ID="btnInserir" runat="server" onclick="btnInserir_Click" 
                    Text="Inserir" ValidationGroup="Inserir" />
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                    HeaderText="Favor verificar os seguintes campos:" ShowMessageBox="True" 
                    ShowSummary="False" ValidationGroup="Inserir" />
            </td>
        </tr>
    </table>
    

</asp:Content>
